package com.yun.springbootsecurity.mapper;

import com.yun.springbootsecurity.pojo.RolePermission;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface RolePermissionMapper {

    @Select("select * from t_role_permission where role_id = #{roleId}")
    public List<RolePermission> getRolePermissionByRoleId(String roleId);
}
